.class Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;
.super Ljava/lang/Object;
.source "AppAlbumActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;->getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

.field final synthetic val$appModel:Lcom/brixd/niceapp/model/AppModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;Lcom/brixd/niceapp/model/AppModel;)V
    .registers 3
    .param p1, "this$1"    # Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    .prologue
    .line 350
    iput-object p1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->this$1:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    iput-object p2, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->val$appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 353
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->val$appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/AppModel;->getId()I

    move-result v1

    if-lez v1, :cond_27

    .line 354
    new-instance v0, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->this$1:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;->this$0:Lcom/brixd/niceapp/activity/AppAlbumActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;-><init>(Landroid/content/Context;)V

    .line 355
    .local v0, "util":Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->val$appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/AppModel;->getArticleType()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_28

    .line 356
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->val$appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/AppModel;->getId()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoNiceDailyDetail(I)V

    .line 361
    .end local v0    # "util":Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    :cond_27
    :goto_27
    return-void

    .line 357
    .restart local v0    # "util":Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    :cond_28
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->val$appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/AppModel;->getArticleType()I

    move-result v1

    const/4 v2, 0x2

    if-ne v1, v2, :cond_27

    .line 358
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter$3;->val$appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/AppModel;->getId()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoCommunityDetail(I)V

    goto :goto_27
.end method
